import Layout from '@/layout'

const enterpriseRouter =
{
  path: '/enterprise',
  component: Layout,
  redirect: '/enterprise/companyTempType',
  children: [
    {
      path: 'companyTempType',
      component: () => import('@/views/enterprise/company-temp-type/index'),
      name: '企业套餐类型',
      meta: {
        title: '企业套餐类型',
        icon: 'el-icon-user-solid',
        noCache: true
      }
    },
    {
      path: 'companyTemp',
      component: () => import('@/views/enterprise/company-temp/index'),
      name: '企业套餐',
      meta: { title: '企业套餐', icon: 'el-icon-user-solid', noCache: true }
    },
    {
      path: 'basis',
      component: () => import('@/views/enterprise/basis/index'),
      name: '企业基本信息',
      meta: {
        title: '企业基本信息',
        icon: 'el-icon-user-solid',
        noCache: true
      }
    },
    {
      path: 'audit',
      component: () => import('@/views/enterprise/audit/index'),
      name: '企业审核',
      meta: { title: '企业审核', icon: 'el-icon-user-solid', noCache: true }
    },
    {
      path: 'everday',
      component: () => import('@/views/enterprise/everday/index'),
      name: '企业日常',
      meta: { title: '企业日常', icon: 'el-icon-user-solid', noCache: true }
    }
  ]
}

export default enterpriseRouter
